<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<LINK href="../css/IDEA.css" type=text/css rel=stylesheet>
<SCRIPT language=javascript src="../js/IDEA_body.js"
	type=text/javascript></SCRIPT>
<link rel="stylesheet" type="text/css"
	href="../js/window/skin/qq/ymPrompt.css" />
<SCRIPT language=javascript src="../js/window/ymPrompt_Ex.js"
	type=text/javascript></SCRIPT>
<SCRIPT language=javascript src="../js/window/ymPrompt_source.js"
	type=text/javascript></SCRIPT>
<script type="text/javascript">
function validate(myform)
 {
    if(myform.getAttribute("resourceName").value=='')
    {
        alert('请输入资源名称');  
      
        return false;
    }
    if(myform.getAttribute("systemId").value=='')
    {
        alert("请选择业务系统");
        
        return false;
    }
    if(myform.getAttribute("resourceType").value=='')
    {
        alert("请输入资源类型");
        
        return false;
    }
    if(myform.getAttribute("resourceValue").value=='')
    {
        alert("请输入资源值");
        
        return false;
    }
 }
</script>
<META content="MSHTML 6.00.2900.3243" name=GENERATOR>
</HEAD>
<BODY>
<TABLE width="100%" height="100%" border=0 cellPadding=0 cellSpacing=0>
	<form name="myform" method="POST"
		action="../resource/modifyResourceInfo.html">
	<TBODY>
		<TR>
			<TD height="100%" bgcolor="#FFFFFF" class=right_bg>
			<table width="100%" height="5" border="0" cellpadding="0"
				cellspacing="0">
				<tr>
					<td></td>
				</tr>
			</table>
			<table width="100%" border="0" align="center" cellpadding="0"
				cellspacing="0">
				<tr>
					<td width="20">&nbsp;</td>
					<td class="text_12_title">当前位置: <a href="#" class="blue_1">首页</a>&gt;
					<a href="#">岗位管理</a> &gt; <a href="#">资源信息维护</a> &gt; 修改资源信息</td>
				</tr>
			</table>
			<table width="100%" height="10" border="0" cellpadding="0"
				cellspacing="0">
				<tr>
					<td></td>
				</tr>
			</table>
			<table width="98%" border="0" cellpadding="0" cellspacing="0"
				background="../images/bg_body_title.jpg" class="list_border1">
				<tr>
					<td width="10">&nbsp;</td>
					<td>
					<table border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td></td>
							<td valign="bottom" class="text_12_border">修改资源信息</td>
							<td></td>
						</tr>
					</table>
					</td>
				</tr>
			</table>
			<table width="98%" border="0" cellpadding="0" cellspacing="0"
				class="list_border2">
				<tr>
					<td align="center" valign="top">
					<table width="98%" height="10" border="0" cellpadding="0"
						cellspacing="0">
						<tr>
							<td></td>
						</tr>
					</table>
					<TABLE class=list_border cellSpacing=0 cellPadding=0 width="98%"
						border=0>
						<TBODY>
							<TR>
								<TD class=list_td_gray width="140">资源名称 ：</TD>
								<TD class=list_td_white_line><input name="resourceName"
									type="text" class="INPUT2" height="20"
									value='${resourceBean.resourceName}'> <input
									name="resourceId" type="hidden" class="INPUT2" height="20"
									value='${resourceBean.resourceId}'> <span
									class="text_darkred">*</span></TD>
							</TR>
							<TR>
								<TD class=list_td_gray height=30>业务系统 ：</TD>
								<TD height=30 class=list_td_white_line><INPUT class=INPUT2
									type="hidden" id=entName22 name="systemId"
									value='${resourceBean.systemId}'> <INPUT class=INPUT2
									type="text" id=systemName name="systemName"
									value='${resourceBean.systemName}' readonly="true"></TD>
							</TR>
							<TR>
								<TD class=list_td_gray width="140">资源类型 ：</TD>
								<TD class=list_td_white_line><select name="resourceType"
									style="width: 100px; height: 100px">
									<option value="WORKFLOWPERM"
										<c:if test="${resourceBean.resourceType=='WORKFLOWPERM'}">selected</c:if>>工作流</option>
									<option value="DATAPERM"
										<c:if test="${resourceBean.resourceType=='DATAPERM'}">selected</c:if>>数据</option>
									<option value="OPERPERM"
										<c:if test="${resourceBean.resourceType=='OPERPERM'}">selected</c:if>>操作</option>
									<option value="MENU"
										<c:if test="#{resourceBean.resourceType=='MENU'}">selected</c:if>>菜单</option>
								</select> <span class="text_darkred">*</span></TD>
							</TR>
							<TR>
								<TD class=list_td_gray height=30>资源值 ：</TD>
								<TD height=30 class=list_td_white_line><INPUT class=INPUT2
									type="text" id="resourceValue" name="resourceValue"
									value='${resourceBean.resourceValue}'></TD>
							</TR>
							<TR>
								<TD class=list_td_gray height=30>资源描述 ：</TD>
								<TD height=30 class=list_td_white_line><textarea
									id="resourceDesc" name="resourceDesc">${resourceBean.resourceDesc}</textarea></TD>
							</TR>
						</TBODY>
					</TABLE>
					<table width="98%" height="42" border="0" cellpadding="0"
						cellspacing="0">
						<tr>
							<td width="40%" align="center"><input name="Submit2"
								type="submit" class="button_normal" value="完  成">
							&nbsp;&nbsp; <input name="Submit3" type="button"
								class="button_normal" value="返  回"
								onclick="window.location.href='../resource/queryResourceInfos.html'"></td>
						</tr>
					</table>
					</td>
				</tr>
			</table>
			<table width="98%" height="5" border="0" cellpadding="0"
				cellspacing="0">
				<tr>
					<td></td>
				</tr>
			</table>
			</TD>
		</TR>
	</TBODY>
	</FORM>
</TABLE>
</BODY>
</HTML>
